package com.njtoyo.taxi.admin.service.business.geo;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.njtoyo.taxi.admin.mapper.master.entity.GeoCanton;
import com.njtoyo.taxi.admin.rest.presenter.business.geo.RegionListPresenter;
import com.njtoyo.taxi.admin.rest.wrapper.business.area.CantonQueryWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.canton.CantonCreateWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.canton.CantonUpdateWrapper;
import com.taxi.entity.common.RestResult;
import com.njtoyo.taxi.entity.backend.AdminUser;

public interface CantonService {

    RestResult getAll(AdminUser adminUser);

    RestResult create(CantonCreateWrapper wrapper);

    RestResult<IPage<RegionListPresenter>> getList(CantonQueryWrapper wrapper);

    RestResult<Boolean> update(Long id, CantonUpdateWrapper wrapper);

    RestResult listAll();

    GeoCanton getInfoById(Long id);

}
